#include <stdio.h>
#include "foo.h"

int foo_impl(int x, int y) {
    int sum = x + y;
    printf("[%s:%d]%d + %d = %d\n", __FILE__, __LINE__, x, y, sum);
    return sum;
}

int foo(int x, int y) {
    int sum = foo_impl(x, y);
    printf("[%s:%d]%d + %d = %d\n", __FILE__, __LINE__, x, y, sum);
    return sum;
}


int main() {
    foo(1, 2);
    bar(1, 2);
    return 0;
}
